<?php if(!defined('EMLOG_ROOT')) {exit('error!');}?>

<div id="content-body">
        <?php foreach($logs as $value): ?>
            <div class="comm_date">
                <span class="data">
                    <span class="j"><?php echo date('j', $value['date']); ?></span>
                  <?php echo date('M/y', $value['date']); ?>
                </span>
                <span class="nr_comm">
                    <a class="nr_comm_spot" title="《<?php echo $value['log_title']; ?>》上的评论" href="<?php echo BLOG_URL; ?>?post=<?php echo $value['logid']; ; ?>#comment"><?php echo $value['comnum']; ?></a>
                </span>
           </div>
           <h2 class="content_h2"><?php topflg($value['top']); ?><a title="<?php echo $value['log_title']; ?>" href="<?php echo BLOG_URL; ?>?post=<?php echo $value['logid']; ?>" rel="bookmark"><?php echo $value['log_title']; ?></a></h2>
           <div class="post-date">
                        <div class="left"><?php echo date('l,G:i', $value['date']); ?>
                                <!-- by Viktor Persson  -->
                                by <?php blog_author($value['author']); ?>
                                <?php blog_sort($value['sortid'], $value['logid']); ?>
                            <span class="edit_content"><?php editflg($value['logid'],$value['author']); ?></span>
                        </div>
           <p><?php echo $value['log_description']; ?></p>
           </div>
           <div class="cat_tags clear">
            <div class="category">
                <a href="<?php echo BLOG_URL; ?>?post=<?php echo $value['logid']; ?>#tb">引用(<?php echo $value['tbcount']; ?>)</a> 
                <a href="<?php echo BLOG_URL; ?>?post=<?php echo $value['logid']; ?>">浏览(<?php echo $value['views']; ?>)</a>&nbsp;&nbsp;
                <?php blog_tag($value['logid']); ?>
            </div>
            <div class="continue">
                <a title="阅读《<?php echo $value['log_title']; ?>》余下的内容" href="<?php echo BLOG_URL; ?>?post=<?php echo $value['logid']; ; ?>">阅读全部>></a>
	    </div>
	    <div class="clear"></div>
	  </div>
	  <div class="cat_tags_close"></div>
                <?php endforeach; ?>


<div id="pagenavi">
   <?php echo $page_url;?>
</div>
</div>
<?php
 include getViews('side');
 include getViews('footer'); 
?>
